package com.ruben.state.example;

/**
 * 抽象状态
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/10/17 18:49
 */
public abstract class BaseStatus implements ApprovalStatus {

    protected ApprovalExecutor executor;

    /**
     * 设置操作类
     *
     * @param executor 操作类
     */
    @Override
    public void setExecutor(ApprovalExecutor executor) {
        this.executor = executor;
    }
}
